package com.cosina.game.crystallight.ui.menu.transform;

import android.graphics.Canvas;
import android.graphics.Rect;

public abstract class Transform {
	protected Rect occpuy;
	
	public void setOccpuy(Rect occpuy){
		this.occpuy = occpuy;
	}
	
	public abstract void undoT(Canvas canvas);

	public final void comeBack(Canvas canvas){
		doT(canvas);
		update();
	}
	
	
	public abstract void update();

	public abstract void doT(Canvas canvas);

	public void buttonClick() {
		
	}
}
